//
//  fadfasdfViewController.m
//  Demo
//
//  Created by Echo on 13-9-24.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    self.title = STR(@"关于公司介绍");
    if ([Global curLanguageEn]) {
        self.title = @"About US";
    }
    [super viewDidLoad];
    
    
    
    
    
    UIImageView *logo = [[UIImageView alloc] initWithImage:IMG(@"company_logo.png")];
    logo.frame = CGRectMake(SCREEN_WIDTH/2-FW(logo)/5, 50, FW(logo)/2.5, FH(logo)/2.5);
    [self.view addSubview:logo];
    logo.hidden = YES;
    
#ifndef HAIDIAN_VERSION
    logo.hidden = NO;
#endif
    float scale = 3.5;
    UIImageView *companyInfo = [[UIImageView alloc] initWithImage:IMG(@"haidian_company_info.png")];
    companyInfo.frame = CGRectMake((SCREEN_WIDTH-FW(companyInfo)/scale)/2, SCREEN_HEIGHT-FH(companyInfo)/scale-100, FW(companyInfo)/scale, FH(companyInfo)/scale);
    [self.view addSubview:companyInfo];
    
    return;
    
    GoodLabel *telLabel = [GoodLabel labelWithFont:16 title:STR(@"电话：+86-755-82952336")];
    if ([Global curLanguageEn]) {
        telLabel.text = @"TEL：";
    }
    telLabel.text = @"TEL：";
    telLabel.textColor = [UIColor blackColor];
    telLabel.frame = CGRectMake(85, kScreenHeight-200, kScreenWidth, 20);
    [self.view addSubview:telLabel];
    
    GoodLabel *emailLabel = [GoodLabel labelWithFont:16 title:STR(@"邮箱：itycm@163.com")];
    emailLabel.text = @"邮箱：";
    if ([Global curLanguageEn]) {
        emailLabel.text = @"Email：itycm@163.com";
        emailLabel.text = @"Email：";
    }
    
    emailLabel.textColor = [UIColor blackColor];
    emailLabel.frame = CGRectMake(85, kScreenHeight-175, kScreenWidth, 20);
    [self.view addSubview:emailLabel];
    
    GoodLabel *netLabel = [GoodLabel labelWithFont:14 title:STR(@"网址：http:www.szhli.com")];
    netLabel.text = @"网址：";
    if ([Global curLanguageEn]) {
        netLabel.text = @"Website：http:www.szhli.com";
        netLabel.text = @"Website：";
    }
    
    netLabel.textColor = [UIColor blackColor];
    netLabel.frame = CGRectMake(85, kScreenHeight-150, kScreenWidth, 20);
    [self.view addSubview:netLabel];
    
    GoodLabel *descLabel = [GoodLabel labelWithFont:16 title:@"coming soon..."];
    descLabel.font = [UIFont boldSystemFontOfSize:18];
    descLabel.textColor = [UIColor blackColor];
    descLabel.textAlignment = NSTextAlignmentCenter;
    descLabel.frame = CGRectMake(0, kScreenHeight-110, kScreenWidth, 20);
    [self.view addSubview:descLabel];
    
}
@end
